package ejb.facades;

import entities.Vehicle;
import java.util.List;
import javax.ejb.Local;

/**
 * Trabalho PD - 2014/2015
 * @author a21210380 a21210392
 */
@Local
public interface VehicleFacadeLocal {

    void create(Vehicle vehicle);

    void edit(Vehicle vehicle);

    void remove(Vehicle vehicle);

    Vehicle find(Object id);

    List<Vehicle> findAll();

    List<Vehicle> findRange(int[] range);

    int count();

}
